<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FanBook后台管理系统</title>
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/invalid.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/style.css" type="text/css" media="screen" />
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/admin/simpla.jquery.configuration.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/admin/facebox.js"></script>
<script>
/*
function iFrameHeight() 
{ 
  var ifm= document.getElementById("main"); 
  var subWeb = document.frames ? document.frames["main"].document : ifm.contentDocument; 
  if(ifm != null && subWeb != null)
  { 
    ifm.height = subWeb.body.scrollHeight; 
  }
}
*/
</script>
</head>
<body>
<div id="body-wrapper"> 
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper"> 
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">FanBook Admin</a></h1>
      <!-- Logo (221px wide) --> 
      <a href="/"><img id="logo" src="<?php echo Yii::app()->request->baseUrl; ?>images/admin/logo.png" alt="Simpla Admin logo" /></a> 
      <!-- Sidebar Profile links -->
      <div id="profile-links"> Hello, <a href="#" title="Edit your profile">Admin</a> ! 您有<a href="#messages" rel="modal" title="点击查看"> 3条 </a>未读消息<br>
        <br>
        <a href="/" title="View the Site" target="_blank">查看首页</a> | <a href="#" title="Sign Out">退出</a> </div>
		<ul id="main-nav">
			<li> 
				<a href="#" class="nav-top-item current"> 系统管理 </a>
				<ul>
					<li><a href="<?php echo Yii::app()->createUrl('admin/system/webInfo'); ?>" class="current"> 网站信息 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/system/webConfig'); ?>"> 网站配置 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/system/editPassword'); ?>"> 修改密码 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/system/clearCache'); ?>"> 清除缓存 </a></li>
				</ul>
			</li>
			<li> 
				<a href="#" class="nav-top-item"> 首页管理 </a>
				<ul>
					<li><a href="<?php echo Yii::app()->createUrl('admin/site/recommend'); ?>"> 今日主推 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/site/rand'); ?>"> 随机推荐 </a></li>
				</ul>
			</li>
			<li> 
				<a href="#" class="nav-top-item"> 分类管理 </a>
				<ul>
					<li><a href="<?php echo Yii::app()->createUrl('admin/category/list'); ?>"> 分类列表 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/category/add'); ?>"> 新增分类 </a></li>
				</ul>
			</li>
			<li> 
				<a href="#" class="nav-top-item"> 小说管理 </a>
				<ul>
					<li><a href="<?php echo Yii::app()->createUrl('admin/book/list'); ?>"> 小说列表 </a></li>
					<li><a href="<?php echo Yii::app()->createUrl('admin/book/add'); ?>"> 新增小说 </a></li>
				</ul>
			</li>
		</ul>
      <!-- End #main-nav -->
      <div id="messages" style="display: none"> 
        <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
        <h3>3 Messages</h3>
        <p> <strong>17th May 2009</strong> by Admin<br />
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <p> <strong>2nd May 2009</strong> by Jane Doe<br />
          Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <p> <strong>25th April 2009</strong> by Admin<br />
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small> </p>
        <form action="#" method="post">
          <h4>New Message</h4>
          <fieldset>
            <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
          </fieldset>
          <fieldset>
            <select name="dropdown" class="small-input">
              <option value="option1">Send to...</option>
              <option value="option2">Everyone</option>
              <option value="option3">Admin</option>
              <option value="option4">Jane Doe</option>
            </select>
            <input class="button" type="submit" value="Send" />
          </fieldset>
        </form>
      </div>
      <!-- End #messages --> 
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content"> 
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <!-- Page Head -->
    <h2>凡书网  &nbsp;&nbsp;<i style="font-size:16px;">www.fanbook.cn</i></h2>
    <p id="page-intro">&nbsp;</p>
    <div class="clear"></div>
    <iframe src="<?php echo Yii::app()->createUrl('admin/system/webInfo'); ?>" name="main" id="main" width="100%"  frameborder="0" scrolling="no"></iframe>
    <div id="footer"> <small> 
      <!-- Remove this notice or replace it with whatever you want --> 
      &#169; Copyright 2010 Your Company | Powered by <a href="/">admin templates</a> | <a href="#">Top</a> </small> </div>
    <!-- End #footer --> 
  </div>
  <!-- End #main-content --> 
</div>
</body>
</html>